package com.kuang.demo.service.wx;

import com.kuang.demo.bean.wx.*;

/**
 * @author ACG
 * @date 2020-11-04 17:10
 */
public interface ShoppingCartService {
    int addControl(ShoppingCartFastaddBean shoppingFastaddBean);

    ShoppingCartIndexData indexControl();

    ShoppingCartIndexData checkedControl(ShoppingCartCheckedBean shoppingCartCheckedBean);

    ShoppingCartIndexData deleteControl(ShoppingCartCheckedBean shoppingCartCheckedBean);

    ShoppingCartCheckoutData checkoutControl(Integer cartId, Integer addressId, String couponId, String grouponRulesId);

    Integer fastaddControl(ShoppingCartFastaddBean fastaddBean);

    void updateControl(ShoppingCartUpdateGoodsBean shoppingCartUpdateGoodsBean);

    Integer goodsCountControl();
}
